home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 July / macformat-026.iso / mac / Shareware City / Science / µSim 1.0 folder / source / Globals.c < prev    next >
Encoding:
Text File  |  1995-01-30  |  1.6 KB  |  52 lines  |  [TEXT/MMCC]

  1. //#pragma load "MacDump"
  2.  
  3.  
  4. #include    "Globals.h"
  5.  
  6. EventRecord    gMyEvent;
  7. GrowZoneUPP            gMyGrowZoneUPP;
  8. ListClickLoopUPP    gInstrClikLoopUPP;
  9. ListClickLoopUPP    gCommentClikLoopUPP;
  10. ListClickLoopUPP    gSwitchCursClikLoopUPP;
  11. TEHandle    gTheInput = nil;
  12. unsigned long    gSleep;
  13. CursHandle    gWatchHandle, gIBeamHandle, gPlusHandle;
  14. short    gRstatus = kST_STOPPED;
  15. short    gZoomFactor;
  16. short    gSubclk;
  17. Boolean    gDoneFlag = false;
  18. Boolean    gInTheForeground = true;
  19. Boolean    gHasColorQD = false, gPwrManagerIsPresent = false;
  20. Boolean gDragManagerActive = false;
  21.  
  22. struct myprefs gPrefs = { kCurPrefsVersion, 2, {279, 0, 342, 381},
  23.                         {75, 0}, {36, 385}, {39, 16}, {50, 10}, {42, 8},
  24.                         {0, 0}, {0, 0}, {0, 0}, {0, 0}, {0, 0},
  25.                         kPCStart, kStackBase, kStackSize, 99, 0, 198, 0, true, false, false, false, false, true, true, false };
  26.  
  27. short    gRegs[kNUMOFREGS];    /* the registers of my machine */
  28. short    gParts[kNUMOFPARTS];    /* editable parts in animation window */
  29. Ptr    gMMemory;    /* RAM memory of the "monster": 128K! */
  30. Ptr    gAssMemory;    /* Associative memory for hardware decoding: 256 bytes! */
  31. union u_mir *gCsMemory;    /* Control Store memory: 512 bytes! (128 longs) */
  32. unsigned short    gILCBase;
  33.  
  34. MenuHandle    gMenu_Apple;
  35. MenuHandle    gMenu_File;
  36. MenuHandle    gMenu_Edit;
  37. MenuHandle    gMenu_Windows;
  38. MenuHandle    gMenu_Control;
  39. MenuHandle    gMenu_Assembler;
  40. MenuHandle    gMenu_Memory;
  41. MenuHandle    gMenu_Registers;
  42. MenuHandle    gMenu_DisasmF;
  43. MenuHandle    gMenu_DumpF;
  44. MenuHandle    gPopMenu;
  45.  
  46. WindowPtr    gWPtr_Animation;
  47. WindowPtr    gWPtr_Dump;
  48. WindowPtr    gWPtr_Microprogram_Ed;
  49. WindowPtr    gWPtr_Registers;
  50. WindowPtr    gWPtr_Disasm;
  51. WindowPtr    gWPtr_IO;
  52.